//
//  QuitViewController.m
//  KurentoToolboxDemo
//
//  Created by 葛殿宏 on 16/3/21.
//  Copyright © 2016年 Telecom Italia S.p.A. All rights reserved.
//

#import "QuitViewController.h"
#import "UIViewController+MJPopupViewController.h"

@interface QuitViewController ()

@end

@implementation QuitViewController

- (void)viewDidLoad {
    [super viewDidLoad];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)confirmButtonClick:(id)sender {
    if (self.delegate && [self.delegate respondsToSelector:@selector(cancelButtonClicked:)]) {
        [self.delegate confirmQuitButtonClicked:self];
    }
}

- (IBAction)closeButtonClick:(id)sender {
    if (self.delegate && [self.delegate respondsToSelector:@selector(cancelButtonClicked:)]) {
        [self.delegate cancelQuitButtonClicked:self];
    }
}


@end
